package com.kettle.model.kettle;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@TableName("t_kettle_work")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "kettle配置信息",description="kettle配置信息")
public class Kettlework extends Model<Kettlelog>{
	
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.NONE)//主键非自增
	@ApiModelProperty(value="编号",example = "1")
	private String id;
	@ApiModelProperty(value="工作名称",example = "jobname")
	private String jobname;
	@ApiModelProperty(value="工作组名",example = "jobgroup")
	private String jobgroupname;
	@ApiModelProperty(value="标题",example = "测试抽取数据")
	private String title;
	@ApiModelProperty(value="创建时间",example = "2020-05-10 10:10:10")
	private Timestamp createtime;
	@ApiModelProperty(value="开始时间",example = "2020-05-10 10:10:10")
	private Timestamp kssj;
	@ApiModelProperty(value="结束时间",example = "2020-05-10 10:10:10")
	private Timestamp jssj;
	@ApiModelProperty(value="操作状态",example = "1")
	private String czzt;
	@ApiModelProperty(value="文件名称",example = "2020050110.ktl")
	private String filename;
	@ApiModelProperty(value="文件路径",example = "./kettle/202005/")
	private String filepath;
	@ApiModelProperty(value="备注",example = "备注")
	private String bz; 
	
}

